<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Position extends Model
{
    protected $guarded = [];

    public function companyInfo()
    {
       return $this->belongsTo('App\CompanyInfo','uid','uid');
    }
    public function userPersonnel(){
        return $this->belongsTo('App\UserPersonnel','uid','user_id');
    }
}
